#
#
#
# list1 = ['离场管理', 'b', 'c']
# list2 = ['离场管理', 'b', 'a']
# print(set(list1) == set(list2))  # True
#
# common = list(set(list1) & set(list2))
# print(common)
#
#
# for a, b in zip(list1, list2):
#     print(a == b)
#
all_data = []


for i in range(5):  # 模拟5轮
    value = i * 10  # 假设每轮生成的数据是 i * 10
    all_data.append(value)
    second_onward_data = []
    if i >= 1:
        second_onward_data.append(value)
        common = list(set(all_data) & set(second_onward_data))
        if len(common)==0:
            print("没有共同元素")
        else:
            print("有共同元素",common)


print("全部数据：", all_data)
print("从第二轮开始的数据：", second_onward_data)

